package com.atguigu.mapper;

import com.atguigu.pojo.Department;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper {

    void add(Department department);

    void deleteById(Integer id);

    void update(Department department);

    List<Department> selectAll(Department department);

    Department selectById(Integer id);
}
